<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <h1>Alta de usuario</h1>
        <?php $form = $this->beginWidget('CActiveForm'); ?>

        <?php echo $form->errorSummary($model); ?>

        <div class="form">
            <?php echo $form->labelEx($model,'usuario'); ?>
            <?php echo $form->textField($model,'usuario'); ?>
            <?php echo $form->error($model,'usuario'); ?>
        </div>
        <div class="form">
            <?php echo $form->labelEx($model,'password'); ?>
            <?php echo $form->textField($model,'password'); ?>
            <?php echo $form->error($model,'password'); ?>
        </div>
        <div class="form">
            <?php echo $form->labelEx($model,'nombre_completo'); ?>
            <?php echo $form->textField($model,'nombre_completo'); ?>
            <?php echo $form->error($model,'nombre_completo'); ?>
        </div>
        <div class="form">
           <?php echo CHtml::submitButton("Crear"); ?>
        </div>
        <?php $this->endWidget(); ?>
    </body>
</html>
